<?php
function runner( $pages, $data ) {
  require_once to_util( 'bitter', 'bitter' );

  $__PAGE_URI = parse_ini_file(to_etc('page_uri'),true);
  $tplVars = $__CFG;

  $data = $_REQUEST; 
  if( $pass_vals ) // then we're uri based and not $_GET based
    decode_uri( $data, $pass_vals, $__PAGE_URI[$page_uri] );
 
  foreach( $pages as $pmod ) {
    require_once to_look( $pmod );
    $modc = 'show'.$pmod;
    $tplVars['modstat'][$pmod] = $modc(&$tplVars, $data);
  }


  showTpl($tplName, $tplVars);

  echo '<center>',mtimer( $stimer ),' with ',$GLOBALS['__QNUM'],' queries</center>';
}
?>
